cmake_minimum_required(VERSION 3.17)
project(native)

set(CMAKE_CXX_STANDARD 14)

add_library(jni-lib SHARED src/jni-library.cpp)

include_directories(include)

#使用环境变量来include，把不同系统的兼容问题交给jdk解决
include_directories(head)

IF (WIN32)
    include_directories(head/windows)
ELSEIF (APPLE)
    include_directories(head/macos)
ELSEIF (common/linux)
    include_directories(head/linux)
ENDIF ()
